<% content_for :title do %>
  <%= h(@word.text).to_s.titleize %>
<% end %>

<% content_for :subtitle do %>
  from <%= h(@dictionary.name.to_s).titleize %>
<% end %>

<ul id="definitions" class="definition">
  <% if @word_definitions.empty? %>
    <%= no_model_found(WordDefinition.class_name) %>
  <% else %>
    <%= render :partial => @word_definitions %>
  <% end %>
</ul>

<%= will_paginate @word_definitions %>

<%= link_to 'Back', words_path %>